![]() |
GetControl32BitMaximum |
||||
Header: | Controls.h | Carbon status: | Supported | |
Obtains the maximum setting of a control.
SInt32 GetControl32BitMaximum ( ControlRef theControl );
A handle to the control whose maximum setting you wish to obtain.
The maximum setting of the control.0
Your application may use the GetControl32BitMaximum function to obtain a 32-bit value previously set with the function SetControl32BitMaximum.
If your application uses a 32-bit control maximum value, it should not attempt to obtain this value by calling the pre–Mac OS 8.5 function GetControlMaximum or by accessing the contrlMax field of the ControlRecord structure, because the stored 16-bit value will not accurately reflect the current 32-bit control value.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)